#include<iostream>
using namespace std;
int main()
{
	int a = 0;
	int b = 0;
	int c;
	c = (a = b) || a++ && ++b||a++;
	cout << a << " " << b << " " << c;
}